package com.tao.extend_.improve_;
//父类，是pupil和Graduate的父类
public class Student {
    public String name;
    public int age;
    private double score;
    //共有方法
    public void setScore(double score) {
        this.score = score;
    }
    public void ShowInfo(){
        System.out.println("小学生名：" + name + "年龄：" + age + "成绩：" + score);
    }
}
